package org.apache.dolphinscheduler.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("t_ds_model")
public class Model {
    @TableId(value = "id", type = IdType.AUTO)
    private int id;
    @TableField(value = "modelname")
    private String modelname;
    @TableField(value = "alias")
    private String alias;
    @TableField(value = "describe")
    private String describe;
    @TableField(value = "address")
    private String address;
    @TableField(value = "user_id")
    private Integer userId;
    @TableField(exist = false)
    private Integer nodeId;

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getModelName() {
        return modelname;
    }

    public void setModelName(String modelName) {
        this.modelname = modelName;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getDescribe() {
        return describe;
    }

    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getNodeId() {
        return nodeId;
    }

    public void setNodeId(Integer nodeId) {
        this.nodeId = nodeId;
    }
}
